package com.jeeplus.modules.tms.entity;


import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.infor.entity.ReAddress;
import com.jeeplus.modules.infor.entity.Start;
import com.jeeplus.modules.infor.entity.TakeAddress;


/**
 * Created by lichaohui on 2018/3/6.
 */
public class ImportPlaning extends DataEntity<ImportPlaning> {
    private String shipmentNumbers;		// 装运单号
    private String number;		// 提货单号
    private String coding;		// 物料编码
    private TakeAddress depot;		// 提货仓库
    private Start start;
    private String site;		// 收货详细地址
    private String amount;		// 计划量
    private String width;		// 结算吨位区间

    @ExcelField(title="装运单号", align=2, sort=1)
    public String getShipmentNumbers() {
        return shipmentNumbers;
    }

    public void setShipmentNumbers(String shipmentNumbers) {
        this.shipmentNumbers = shipmentNumbers;
    }
    @ExcelField(title="提货单号", align=2, sort=2)
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    @ExcelField(title="物料编码", align=2, sort=3)
    public String getCoding() {
        return coding;
    }

    public void setCoding(String coding) {
        this.coding = coding;
    }

    @ExcelField(title="提货仓库", fieldType = TakeAddress.class,value="depot.store", align=2, sort=4)
    public TakeAddress getDepot() {
        return depot;
    }

    public void setDepot(TakeAddress depot) {
        this.depot = depot;
    }
    @ExcelField(title="起运地",fieldType =Start.class,value ="start.name" ,align=2, sort=5)
    public Start getStart() {
        return start;
    }

    public void setStart(Start start) {
        this.start = start;
    }

    @ExcelField(title="收货地址", align=2, sort=6)
    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }
    @ExcelField(title="计划量", align=2, sort=7)
    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }
    @ExcelField(title="结算吨位区间", align=2, sort=8)
    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }
}
